import reactRefresh from "@vitejs/plugin-react-refresh";

export default {
  // esbuild: {
  //   jsxFactory: 'h',
  //   jsxFragment: 'Fragment',
  //   target: 'es2020',
  //   format: 'esm'
  // },
  plugins: [reactRefresh()],
  esbuild: {
    jsxInject: `import React from 'react'`,
  },
  server: {
    port: 3000
  }
}